package gmu.swe.project.query;

import java.io.Serializable;

public class Query implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static String TRACKER_QUERY = "TrackerQuery";
	public static String PEER_QUERY = "PeerQuery";
	
	//The server receiving the query needs to know if it came from a Peer 
	//or a Tracker; the results are handled differently.
	private String type;
	//Unique identifier of this query
	private String id;
	//The query string to search for
	private String query;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getQuery() {
		return query;
	}
	public void setQuery(String query) {
		this.query = query;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	


}
